package com.gitee.zw.irmp.common.auth.sso;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

public interface SSOProcessor {
    public static final String AUTH_COOKIE_NAME = "Authorization";
    /**
     * 根据SSO返回信息生产token
     *
     * @return
     */
    void processSSO(HttpServletRequest request, HttpServletResponse response);

    void logout(HttpServletRequest request, HttpServletResponse response);
}
